package xyz.lisys.boot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@Controller
public class ViewController {

    @GetMapping("/view")
    public String view(Map<String, Object> model) {
        model.put("msg", "Hello World");
        return "index.jsp";
    }
}
